package com.mk.cloud.common.domain;
import org.beetl.sql.core.annotatoin.Param;
import org.beetl.sql.core.mapper.BaseMapper;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;

/*
* 
* gen by beetlsql 2017-10-23
*/
public class GlArea   implements Serializable{
	//区域编号
	private String areacode ;
	//区域名称
	private String areaname ;
	//简拼
	private String jianpin ;
	//上级区域代码
	private String pareacode ;
	//拼音
	private String pinyin ;
	//去掉省或市或区的unicode
	private String areanameuniocde ;

	@Transient
	private List<GlArea> children;
	
	public GlArea() {
	}
	
	public String getAreacode(){
		return  areacode;
	}
	public void setAreacode(String areacode ){
		this.areacode = areacode;
	}
	
	public String getAreaname(){
		return  areaname;
	}
	public void setAreaname(String areaname ){
		this.areaname = areaname;
	}
	
	public String getJianpin(){
		return  jianpin;
	}
	public void setJianpin(String jianpin ){
		this.jianpin = jianpin;
	}
	
	public String getPareacode(){
		return  pareacode;
	}
	public void setPareacode(String pareacode ){
		this.pareacode = pareacode;
	}
	
	public String getPinyin(){
		return  pinyin;
	}
	public void setPinyin(String pinyin ){
		this.pinyin = pinyin;
	}

	public List<GlArea> getChildren() {
		return children;
	}

	public void setChildren(List<GlArea> children) {
		this.children = children;
	}

	public String getAreanameuniocde() {
		return areanameuniocde;
	}

	public void setAreanameuniocde(String areanameuniocde) {
		this.areanameuniocde = areanameuniocde;
	}


	public interface Mapper extends BaseMapper<GlArea> {
	}

}
